package com.shycloud.mido.homework.api.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import lombok.Data;

/**
 * 测试分库分表实现类
 *
 *  @author Xiaoxing Yu
 * @date 2020/11/17 下午3:30
 */
@Data
@TableName("test")
public class TestSharding implements Serializable {

	@TableId(value = "sharding_id", type = IdType.AUTO)
    private Long shardingId;

    private String name;

}